package com.warrior.superdata.util;

import java.util.regex.Pattern;

public class PathUtils {
    private static final Pattern REPLACE_SLASH_REGX = Pattern.compile("/+");

    public PathUtils() {
    }

    public static String replaceSlash(String path) {
        return REPLACE_SLASH_REGX.matcher(path).replaceAll("/");
    }
}
